import requests from './axios'
// 登录
export const reqUserLogin = (data)=>requests({url:'/login',data,method:'post'})
// 查询商品
export const reqGetGoods = ()=>requests({url:'/vgoods',method:'post'})
// 查询订单
export const reqGetOrder = ()=>requests({url:'/getOrders',method:'post'})
// 删除某商品
export const reqDeleteGoods = (data)=>requests({url:'/deleteGoods',data,method:'post'})
// 添加某商品
export const reqAddGoods = (data)=>requests({url:'/addGoods',data,method:'post'})
// 发货
export const reqDeliverGoods = (data)=>requests({url:'/deliverGoods',data,method:'post'})


